SELECT '01' corp,COL_SUMMARY."ID",COL_SUMMARY.START_MEMBER_ID memberId, FORMMAIN_1950.FIELD0004 gzcorp,CTP_ENUM_ITEM.SHOWVALUE,FORMMAIN_1950.FIELD0004 as location,
ORG_MEMBER.CODE pgpsn,FORMMAIN_1950.FIELD0006 billdate,FORMMAIN_1950.FIELD0007 dispatching,
FORMMAIN_1950.FIELD0007 questioncode,FORMMAIN_1950.FIELD0002 rpsn,FORMMAIN_1950.FIELD0020 remarks,
FORMMAIN_1950.FIELD0007 billcode
FROM COL_SUMMARY 
LEFT JOIN FORMMAIN_1950 ON FORMMAIN_1950."ID" = COL_SUMMARY.FORM_RECORDID
LEFT JOIN ORG_MEMBER ON ORG_MEMBER.ID = FORMMAIN_1950.FIELD0005
LEFT JOIN CTP_ENUM_ITEM ON CTP_ENUM_ITEM.ID = FORMMAIN_1950.FIELD0003
WHERE COL_SUMMARY."ID" = '${id}'